import java.util.Random;

public class Generation {
	private Integer result;

	public Integer GenerationClass() {
		Random generation = new java.util.Random();
		int res = generation.nextInt(99);
//		System.out.println("Сгенерированное число - " + res);
		return res;
	}

	public Generation() {
		result = GenerationClass();
	}

	public int getResult() {
		return result;
	}

	public void setResult(Integer result) {
		this.result = result;
	}
}
